<template>
  <div>
    <field-selector
      v-model="test"
      input-align="right"
      :columns="columns"
      :columns-field-names="{label: 'id', value: 'value'}"
      label="测试" />
  </div>
</template>
<script setup lang="ts">
import FieldSelector from '../../packages/field-selector/field-selector.vue'
import { ref } from 'vue'
const test = ref('123')
// const columns = [{ id: 1, value: '2' }, { id: 2, value: '4' }]
const columns = ['123', '2223']
</script>
